Skip to main content
Version: 2.24.0

API Gatway Testing

API Endpoint Testing

Assert endpoint connectivity

Use a web browser to access the URL endpoint: https://<HOSTNAME>/health On a successful connection the endpoints should return the following result:

![alt text](image.png)

Get the Token

Use the following CURL command to acquire a valid JWT token. Replace the placeholder values within with values for your instance under test.

![alt text](image.png)

curl --location '<https://<HOSTNAME>>/apigator/identity/v1/token' \
--header 'X-Api-Key: <API KEY>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=<CLIENT ID>' \
--data-urlencode 'client_secret=<CLIENT SECRET>' \
--data-urlencode 'grant_type=client_credentials'

On successful completion you should receive the following response:

![alt text](image.png)